Перейти к основному содержимому

sc.example

Lets you read examples thats from the Computer.

--

Structures

Example

Fields

  • name [ string ] The name of the example.
  • script [ string ] The script in the example.

Functions

getExamples

sc.example.getExamples()

Gets the loaded examples.

Returns:

  • [ Example[] ] All loaded examples.

getTotalExamples

sc.example.getTotalExamples()

Gets the total number of examples currently loaded.

Returns:

  • [ integer ] The total number of loaded examples.